var config = require('../base.conf.js').config;
module.exports = {
  // 邻里模块======================================
   /**
   * 登录注册
   */
  onLogin: {
    url:'wxUser/getOpenId.do',
    service: config.service_lllw.tag,
  }, //微信code换取openid与sessionKey

  sendSms: {
    url: 'wxUser/sendSms.do',
    service: config.service_lllw.tag,
  }, //发送短信验证码

  loginView: {
    url: 'wxUser/bindWx.do',
    service: config.service_lllw.tag,
  }, //手机号绑定微信相关信息

  judeIsBindPhone: {
    url: 'wxUser/judeIsBindPhoneByUnionId.do',
    service: config.service_lllw.tag,
  }, //判断微信是否绑定手机号

  listNew: {
    url: 'residentialQuarters/listNew.do',
    service: config.service_lllw.tag,
  }, //定位到附近小区

  getAllQuartersByUserId: {
    url: 'wxQuarters/getAuthQuartersByUserId.do',
    service: config.service_lllw.tag,
  }, //已认证的小区

  getCityHavingQuarters: {
    url: 'wxQuarters/getCityHavingQuarters.do',
    service: config.service_lllw.tag,
  }, //查询已开通成市

  getQuartersByCityName:{
    url: 'wxQuarters/getQuartersByCityNameAndQuartersName.do',
    service: config.service_lllw.tag,
  }, //根据城市名称和小区名称搜索小区

  applyForCertification: {
    url: 'wxQuarters/applyForCertification.do',
    service: config.service_lllw.tag,
  }, //用户申请认证小区

  uploadSwipingCardLog: {
    url: 'wxQuarters/uploadSwipingCardLog.do',
    service: config.service_lllw.tag,
  }, //开门成功保存开门记录
  addXcxFromId: {
    url: 'wxQuarters/submitFormId.do',
    service: config.service_lllw.tag,
  }, //添加fromId
  // 拼量sso模块======================================（8004 = 9000/sso）
  /**
   * 登录注册
   */
  sign_in: {
    url: 'neighbor/sign_in',
    service: config.service_sso.tag,
  },//开门签到

  integral: {
    url: 'neighbor/integral',
    service: config.service_sso.tag,
  },//签到页面
  /**
   * 商品列表
   */
  goodslist:{
    url: 'neighbor/neighborProduct/page',
    service: config.service_sso.tag,
  },//商品列表

  productDetail: {
    url: 'neighbor/productDetail',
    service: config.service_sso.tag,
  },//商品详情

  PlAdvertisLike: {
    url: 'neighbor/getNeighborPictures.action',
    service: config.service_sso.tag,
  },//查询轮播图

  getIntegralInfo: {
    url: 'neighbor/getIntegralInfo.action',
    service: config.service_sso.tag,
  },//积分说明

  /**
   * 商品部分
   */
  getProductDetail: {
    url: 'api/getProductDetail.action',
    service: config.service_sso.tag,
  }, //查询商品详情

  getProductDetailgroup: {
    url: 'appApi/getProductDetail.action',
    service: config.service_sso.tag,
  }, //团商品详情

  getGroupInfo: {
    url: 'api/getGroupInfo.action',
    service: config.service_sso.tag,
  }, //团长团详情

  getGroupMemberInfo: {
    url: 'group/getGroupMemberInfo.action',
    service: config.service_sso.tag,
  }, //查询参团详情

  getBrandProductDetail: {
    url: 'product/getBrandProductDetail.action',
    service: config.service_sso.tag,
  }, //查询品牌商品

  generatorXcxQrCodePT: {
    url: 'appApi/generatorXcxQrCodePT',
    service: config.service_sso.tag,
  }, //商品分享图


  /**
   * 地址管理
   */
  // addReceiptAddress: '9000/sso/api/addReceiptAddress.action', //添加地址
  addReceiptAddress: {
    url: 'api/addReceiptAddress.action',
    service: config.service_sso.tag,
  }, //添加地址

  getReceiptAddressList: {
    url: 'api/getReceiptAddressList.action',
    service: config.service_sso.tag,
  }, //获取地址列表

  editReceiptAddress:{
    url: 'api/editReceiptAddress.action',
    service: config.service_sso.tag,
  }, //编辑收货地址

  deleteReceiptAddress:{
    url: 'api/deleteReceiptAddress.action',
    service: config.service_sso.tag,
  }, //删除收货地址

  getReceiptAddressInfo:{
    url: 'api/getReceiptAddressInfo.action',
    service: config.service_sso.tag,
  }, //获取地址详情

  getAreaList: {
    url: 'common/getAreaList.action',
    service: config.service_sso.tag,
  }, // 省市区查询

  /**
   * 换步接口
   */
  toLogin: {
    url: 'xcx2/toLogin.action',
    service: config.service_sso.tag,
  },//code换取openid与sessionKey

  getSysStep: {
    url: 'neighbor/getSysStep.action',
    service: config.service_sso.tag,
  }, //uid获取步数

  donateStep: {
    url: 'neighbor/donateStep.action',
    service: config.service_sso.tag,
  }, //赠送步数

  initStep: {
    url: 'neighbor/init.action',
    service: config.service_sso.tag,
  }, //初始化用户信息

  updateSysStep: {
    url: 'neighbor/updateSysStep.action',
    service: config.service_sso.tag,
  }, //更新系统步数

  exchangeBee: {
    url: 'neighbor/exchangeIntegral.action',
    service: config.service_sso.tag,
  }, //步数兑换积分

  doExchange: {
    url: 'neighbor/doExchange.action',
    service: config.service_sso.tag,
  },//兑换商品

  getIntegralList: {
    url: 'neighbor/getIntegralList.action',
    service: config.service_sso.tag,
  },//查询积分记录
  /**
   * 其他
   */
  commonDload: {
    url: 'mongo/download.action',
    service: config.service_sso.tag,
  }, //通用下载地址 

  download:{
    url: 'mongo/download.action?id=',
    service: config.service_sso.tag,
  }, //获取图片

  commonUpload: {
    url: 'mongo/upload.action',
    service: config.service_sso.tag,
  }, //通用上传地址 

  // 第三方服务模块======================================
  /**
   * 第三方接口
   */
  constellationQuery: {
    url: 'constellationQuery',
    service: config.service_life.tag,
  }, //星座

  getCompany:{
    url: 'getCompany',
    service: config.service_life.tag,
  }, //获取水电燃气费公司接口文档说明

  lifeBillQuery: {
    url: 'lifeBillQuery',
    service: config.service_life.tag,
  }, //生活账单查询(水电燃气费)接口文档说

  lifeServiceTrade: {
    url: 'lifeServiceTrade',
    service: config.service_life.tag,
  }, //查询生活缴费交易流水

  wxUnifiedOrder: {
    url: 'wxUnifiedOrder',
    service: config.service_life.tag,
  }, //wx统一下单接口文档说明

}